package xml;
import java.util.ArrayList;

public class TagXML {
	TagXML father=null;
	ArrayList<TagXML> taguri=new ArrayList<TagXML>();
	ArrayList<Atribute> atribute=new ArrayList<Atribute>();
	String name=null;
	String value=null;
	AddAtribute atribAdder=new AddAtribute();
	DeleteAtribute atribDeleter=new DeleteAtribute();
	AddTag tagAdder=new AddTag();
	DeleteTag tagDelete=new DeleteTag();
	
	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public ArrayList<TagXML> getTaguri() {
		return taguri;
	}


	public void setTaguri(ArrayList<TagXML> taguri) {
		this.taguri = taguri;
	}


	public ArrayList<Atribute> getAtribute() {
		return atribute;
	}


	public void setAtribute(ArrayList<Atribute> atribute) {
		this.atribute = atribute;
	}


	public String getValue() {
		return value;
	}


	public void setValue(String value) {
		this.value = value;
	}


	public TagXML() {
		this.father = null;
		this.taguri = null;
		this.atribute = null;
		this.name = " ";
		this.value = " ";
		this.atribAdder = null;
		this.atribDeleter = null;
		this.tagAdder = null;
		this.tagDelete = null;
	}
	
	public TagXML(TagXML Father){
		this.father=Father;
	}


	public TagXML(TagXML father,String name, String value) {
		super();
		this.father = father;
		this.name = name;
		this.value = value;
	}

	public TagXML(TagXML father,String name) {
		super();
		this.father = father;
		this.name = name;
	}
	public TagXML(String name) {
		super();
		this.name = name;
	}
	public TagXML(String name, String value) {
		super();
		this.name = name;
		this.value = value;
	}
	
	void addAtrib(Atribute a)
	{
		
	}
	
	void deleteAtrib(Atribute a)
	{
		
	}
	void AddSonAtrib(Atribute a, TagXML t)
	{
		
	}
	void DeleteSonAtrib(Atribute a, TagXML t)
	{
		
	}
	void addTag(TagXML t){
		
	}
	void deleteTag(TagXML t)
	{
		
	}
		

}
